<template>
<!-- 新增需求单 -->
  <div>
       <!-- rk表单 -->
    <div>
      <el-row>
        新增表单
      </el-row><br>
      <el-form :inline="true" :label-position="left" label-width="80px" :model="formLabelAlign">
        <el-row>
          <el-col span="7">
            <el-form-item label="表单类型">
              <el-input v-model="formLabelAlign.name"></el-input>
            </el-form-item>
          </el-col>
        
        
          <el-col span="7" offset="1">
            <el-form-item label="品类">
              <el-select v-model="value" placeholder="请选择">
                <el-option
                  v-for="item in formLabelAlign.options"
                  :key="item.label"
                  :label="item.label"
                  :value="item.label">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
        
          <el-col span="7" offset="1">
            <el-form-item label="仓库">
              <el-input v-model="formLabelAlign.type"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col span="7">
            <el-form-item label="制单人">
              <el-input v-model="formLabelAlign.type"></el-input>
            </el-form-item>
          </el-col>

          <el-col span="7" offset="1">
            <el-form-item label="审核人">
              <el-input v-model="formLabelAlign.type"></el-input>
            </el-form-item>
          </el-col>

          <el-col span="7" offset="1">
            <el-form-item label="成色">
              <el-input v-model="formLabelAlign.type"></el-input>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col span="7">
            <el-form-item label="制单人">
              <el-input v-model="formLabelAlign.type" disabled="true"></el-input>
            </el-form-item>
          </el-col>

          <el-col span="7" offset="1">
            <el-form-item label="审核人">
              <el-input v-model="formLabelAlign.type" disabled="true"></el-input>
            </el-form-item>
          </el-col>

          <el-col span="7" offset="1">
            <el-form-item label="成色">
              <el-input v-model="formLabelAlign.type"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row >
          <el-col span="6">&nbsp;</el-col>
          <el-col span="6">
            <el-button type="primary" icon="el-icon-s-order" @click="add_rk_table">提交</el-button>
          </el-col>
          <el-col span="6">
            <el-button type="primary" icon="el-icon-d-arrow-left" @click="cancel_table">取消</el-button>
          </el-col>
          
        </el-row>
        
      </el-form>
    </div>

    <div>
      <!-- 表格 -->
      <el-row>
        产品信息
      </el-row><br>
     <el-table
        :data="tableData" 
        style="width: 100%">
        <el-table-column
          prop="date"
          label="日期"
          width="180">
        </el-table-column>
        <el-table-column
          prop="name"
          label="姓名"
          width="180">
        </el-table-column>
        <el-table-column
          prop="address"
          label="地址">
        </el-table-column>
      </el-table>
      <!-- 分页 -->
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="1"
        :page-sizes="[10, 20, 30]"
        :page-size="10"
        layout="total, sizes, prev, pager, next, jumper"
        :total="80">
      </el-pagination>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>

</style>